﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Net;

namespace 玄鸟刀剑2
{
    public partial class Form5 : Form
    {
        public Form5()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            WebClient myWebClient = new System.Net.WebClient();
            myWebClient.Headers.Add("Content-Type", "text/plain");
            var a= myWebClient.UploadFile(new Uri(@"https://dj-1300382743.cos.ap-chengdu.myqcloud.com/ver.txt"), "ver.txt");
            MessageBox.Show(a.First().ToString());
          
        }
    }
}
